#include "Day.h"

#include <string>
using namespace std;


#ifndef Calendar_H
#define Calendar_H_

class Calendar {

public:
	//Default Constructor
	Calendar();
	//Destructor
	virtual ~Calendar();
	//Copy Constructor
	Calendar(const Calendar& em);
	//Operator  '=' overloading 
	const Calendar& Calendar::operator=(const Calendar& o);

	virtual const bool addMeeting(int day, Meeting& m);

	const bool deleteMeeting(int day, const Meeting& m);

	const bool findMeeting(int day, float start)  ;

	void copyMeeting(int source_day,int dest_day,const Meeting& m_source, Meeting& m_dest);

	void printMeetings();

protected:
	const bool legalDate(int day, float start, float end);
	const Calendar& assign(const Calendar& c) ;

private:
	Day* days;
	
};
#endif
